//
//  XJYChatData.h
//  高仿萝卜书摘
//
//  Created by 谢俊逸 on 06/12/2016.
//  Copyright © 2016 谢俊逸. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "JSQMessages.h"
#import <CoreLocation/CoreLocation.h>
#import <AVIMClient.h>


static NSString * const kJSQDemoAvatarDisplayNameSquires = @"Jesse Squires";
static NSString * const kJSQDemoAvatarDisplayNameCook = @"Tim Cook";
static NSString * const kJSQDemoAvatarDisplayNameJobs = @"Jobs";
static NSString * const kJSQDemoAvatarDisplayNameWoz = @"Steve Wozniak";

static NSString * const kJSQDemoAvatarIdSquires = @"053496-4509-289";
static NSString * const kJSQDemoAvatarIdCook = @"468-768355-23123";
static NSString * const kJSQDemoAvatarIdJobs = @"707-8956784-57";
static NSString * const kJSQDemoAvatarIdWoz = @"309-41802-93823";


@interface XJYChatData : NSObject

@property (strong, nonatomic) NSMutableArray *messages;



@property (strong, nonatomic) NSDictionary *avatars;

@property (strong, nonatomic) JSQMessagesBubbleImage *outgoingBubbleImageData;

@property (strong, nonatomic) JSQMessagesBubbleImage *incomingBubbleImageData;

@property (strong, nonatomic) NSDictionary *users;

@property (strong, nonatomic) void(^messagesChangeBlock)();
@property (strong, nonatomic) void(^messagesSendFailedBlock)();
@property (strong, nonatomic) AVIMConversation *conversation;

- (void)addMessages:(JSQMessage *)message;

@end
